package com.huawei.appgallery.packagemanager.impl.base;

import android.app.Activity;
import android.os.Bundle;
import o.cnu;

public class PackageBaseActivity extends Activity {
    protected boolean ˊ = false;
    private int ˎ = 0;

    protected void onCreate(Bundle bundle) {
        requestWindowFeature(1);
        super.onCreate(bundle);
    }

    protected void onResume() {
        super.onResume();
        if (!this.ˊ && this.ˎ >= 1) {
            finish();
        }
        this.ˎ++;
        cnu.ˏ.ˎ("PackageBaseActivity", " onResume " + this.ˎ);
    }

    protected void onDestroy() {
        super.onDestroy();
        if (!this.ˊ) {
            ˊ();
        }
    }

    protected void ˊ() {
    }
}
